<?php
session_start();
$userlist_id = $_SESSION["HBD_USER"];
$x=mysql_select_db($dbname,$conn);
mysql_query('SET NAMES utf8');

$sql="SELECT userlist_username,group_id FROM userlist WHERE userlist_id = '$userlist_id'";
$result = mysql_query($sql);
$rs = mysql_fetch_array($result);
$userlist_username = $rs['userlist_username'];
$group_id = $rs['group_id'];
?>